package myky.com.doctorapp.entity;

import java.util.ArrayList;
import java.util.List;

public class GroupItemEntity {
    String title;
    boolean hasSelected;

    public boolean isHasSelected() {
        return hasSelected;
    }

    public void setHasSelected(boolean hasSelected) {
        this.hasSelected = hasSelected;
    }

    List<ChildItemeEntity> items = new ArrayList<>();

    public static class ChildItemeEntity {
        String title;
        String hint;
        boolean hasSelected;

        private List<DiseaseItem> diseaseItems;

        public List<DiseaseItem> getDiseaseItems() {
            return diseaseItems;
        }

        public void setDiseaseItems(List<DiseaseItem> diseaseItems) {
            this.diseaseItems = diseaseItems;
        }

        public boolean isHasSelected() {
            return hasSelected;
        }

        public void setHasSelected(boolean hasSelected) {
            this.hasSelected = hasSelected;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getHint() {
            return hint;
        }

        public void setHint(String hint) {
            this.hint = hint;
        }


        public static class DiseaseItem {
            private String diseaseName;

            public String getDiseaseName() {
                return diseaseName;
            }

            public void setDiseaseName(String diseaseName) {
                this.diseaseName = diseaseName;
            }
        }
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<ChildItemeEntity> getItems() {
        return items;
    }

    public void setItems(List<ChildItemeEntity> items) {
        this.items = items;
    }
}
